let arr = [-6, -5, -4, -3, -2, -1]

export const timeFn = () => {
  const newData = arr.map(item => fun_date(item))
  return newData
}

function fun_date(num:number) { 
    let date1 = new Date();
    let date2 = new Date(date1);
    date2.setDate(date1.getDate() + num);
    let time2 = `${date2.getDate()}号`; 
    return time2;
}